import createRoute from '../../lib/route'

let lockAndParking = createRoute('')
lockAndParking.path = 'lockAndParking'
lockAndParking.component = r => require.ensure([], () => r(require('./page.vue')), 'lockAndParking')

let lpList = createRoute('開關鎖及臨時停車')
lpList.path = ''
lpList.component = r => require.ensure([], () => r(require('./lpList.vue')), 'lpList')

let howOpenLock = createRoute('如何開鎖？')
howOpenLock.path = 'howOpenLock'
howOpenLock.component = r => require.ensure([], () => r(require('./components/howOpenLock.vue')), 'howOpenLock')

let canNotLock = createRoute('開不了鎖')
canNotLock.path = 'canNotLock'
canNotLock.component = r => require.ensure([], () => r(require('./components/canNotLock.vue')), 'canNotLock')

let unlockingCharge = createRoute('未開鎖已計費')
unlockingCharge.path = 'unlockingCharge'
unlockingCharge.component = r => require.ensure([], () => r(require('./components/unlockingCharge.vue')), 'unlockingCharge')

let howToShut = createRoute('如何關鎖？')
howToShut.path = 'howToShut'
howToShut.component = r => require.ensure([], () => r(require('./components/howToShut.vue')), 'howToShut')

let shortParking = createRoute('臨時停車')
shortParking.path = 'shortParking'
shortParking.component = r => require.ensure([], () => r(require('./components/shortParking.vue')), 'shortParking')

let forgetLock = createRoute('忘記關鎖')
forgetLock.path = 'forgetLock'
forgetLock.component = r => require.ensure([], () => r(require('./components/forgetLock.vue')), 'forgetLock')

let lockNotPaid = createRoute('已關鎖未結費')
lockNotPaid.path = 'lockNotPaid'
lockNotPaid.component = r => require.ensure([], () => r(require('./components/lockNotPaid.vue')), 'lockNotPaid')

lockAndParking.addChild(lpList).addChild(howOpenLock).addChild(canNotLock).addChild(unlockingCharge).addChild(howToShut).addChild(shortParking).addChild(forgetLock).addChild(lockNotPaid)
export default lockAndParking
